package com.boc.langxiang.contract.me;

import com.boc.langxiang.contract.BaseView;
import com.boc.langxiang.entity.response.OrdersDetailReturnProductContent;
import com.boc.langxiang.entity.response.OrdersDetailWaitDeliveryContent;
import com.boc.langxiang.entity.response.OrdersDetailWaitPayContent;
import com.boc.langxiang.entity.response.OrdersDetailWaitReceiveContent;
import com.boc.langxiang.presenter.BasePresenter;

public interface OrdersDetailContract {
    interface View extends BaseView {
        void getReceiptOrdersInfo(OrdersDetailWaitReceiveContent content);

        void getReturnOrdersInfo(OrdersDetailReturnProductContent content);

        void getPayOrdersInfo(OrdersDetailWaitPayContent content);

        void getSendOrdersInfo(OrdersDetailWaitDeliveryContent content);

        /**
         * 取消订单成功
         */
        void cancelOrdersSuccess();

        /**
         * 支付成功
         */
        void onPaySuccess();

        /**
         * 确认订单成功
         */
        void conFirmReceiptSuccess();

    }

    interface Presenter extends BasePresenter {
        void toReceiptOrdersInfo(String id);

        void returnOrdersInfo(String id);

        void toPayOrdersInfo(String id);

        void toSendOrdersInfo(String id);

        void cancelOrders(String id);

        void confirmReceipt(String id);
    }
}
